package top.suven.base.http.admin.sec.model;

import top.suven.base.core.mybatis.crud.*;

import java.io.Serializable;
/**   
 * @Title: RoleMenu.java
 * @Description: 角色菜单权限的数据模型
 * @author lixiangling
 * @date   2018/08/13 16:59:19
 * @version V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
//@Entity
@Table(name = "sec_role_menu")
public class RoleMenu implements Serializable {

	private static final long serialVersionUID = -441840128666574748L;
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_sec_role_menu")
	@Column(name = "role_menu_id" , nullable = false)
	/** 角色菜单ID */
	private Long roleMenuId;
	@Column(name = "role_code" , nullable = false)
	/** 角色编码 */
	private String roleCode;
	@Column(name = "menu_code" , nullable = false)
	/** 菜单编码 */
	private String menuCode;
	@SoftDelete
	@Column(name = "status" , nullable = false)
	/** 状态 */
	private Integer status;
	@Column(name = "reorder" , nullable = false)
	/** 排序 */
	private Integer reorder;
	@Column(name = "remark" , nullable = false)
	/** 备注 */
	private String remark;
	@Column(name = "enable_status" , nullable = false)
	/** 启用状态 启用-1、禁用-0 */
	private Integer enableStatus;

	/**  菜单名称 */
	private String menuName;
	/**  菜单地址 */
	private String menuUri;
	/** 菜单类型 */
	private String menuType;
	/** 父级菜单 */
	private String parentMenuCode;
	
	public void setRoleMenuId(Long roleMenuId){
		this.roleMenuId = roleMenuId;
	}
	
	public Long getRoleMenuId(){
		return this.roleMenuId;
	}
	
	public void setRoleCode(String roleCode){
		this.roleCode = roleCode;
	}
	
	public String getRoleCode(){
		return this.roleCode;
	}
	
	public void setMenuCode(String menuCode){
		this.menuCode = menuCode;
	}
	
	public String getMenuCode(){
		return this.menuCode;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getStatus(){
		return this.status;
	}
	
	public void setReorder(Integer reorder){
		this.reorder = reorder;
	}
	
	public Integer getReorder(){
		return this.reorder;
	}
	
	public void setRemark(String remark){
		this.remark = remark;
	}
	
	public String getRemark(){
		return this.remark;
	}
	
	public void setEnableStatus(Integer enableStatus){
		this.enableStatus = enableStatus;
	}
	
	public Integer getEnableStatus(){
		return this.enableStatus;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuUri() {
		return menuUri;
	}

	public void setMenuUri(String menuUri) {
		this.menuUri = menuUri;
	}

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getParentMenuCode() {
		return parentMenuCode;
	}

	public void setParentMenuCode(String parentMenuCode) {
		this.parentMenuCode = parentMenuCode;
	}
}